package org.fizz.network;

/**
 * @Author Fizz Pu
 * @Date 2021/5/3 上午11:43
 * @Version 1.0
 * 失之毫厘，缪之千里！
 */
public interface CumtNetWorkClient {
    /**-------------登入-----------------*/
    boolean login() throws NoSuchOperatorName;

    boolean login(String userName, String passWord, OperatorName operatorName);

    /**登录校园网*/
    boolean loginCumt();

    /**登录联通网络*/
    boolean loginUnicom();

    /**登录电信网络*/
    boolean loginTelecom();

    /**登录中国移动网络*/
    boolean loginCmcc();

    /**--------------登出----------------*/
    boolean logout() throws NoSuchOperatorName, ResultException;

    boolean logout(String userName, String passWord, OperatorName operatorName) throws ResultException;

    /**登出校园网*/
    boolean logoutCumt() throws ResultException;

    /**登出联通网络*/
    boolean logoutUnicom() throws ResultException;

    /**登出电信网络*/
    boolean logoutTelecom() throws ResultException;

    /**登出中国移动网络*/
    boolean logoutCmcc() throws ResultException;

}
